@import "./config.less";

.container{
	position: relative;
	min-width: 1170px;
	background-image: url("/img/banner_01.png");
	background-size: 100% 450px;
	background-repeat: no-repeat;
	padding-top: 350px;
	margin-bottom: 276px;
}
.content{
	width: 1170px;
	margin: 0 auto;
	background-color: #ffffff;
	box-shadow: 0px 5px 20px 0px rgba(51,51,51,0.1);
}
.tags{
	width: 100%;
	height: 100px;
	background-color: #ffffff;
	display: flex;
	.tag{
		width: 380px;
		height: 100px;
		display: flex;
		align-items: center;
		box-sizing: border-box;
		position: relative;
		span{
			display: block;
			width: 30px;
			height: 30px;
			border-radius: 100%;
			background-color: #20A9CD;
			text-align: center;
			line-height: 30px;
			font-size: 18px;
			color: #ffffff;
			margin-left: 102px;
			margin-right: 10px;
		}
		.tag-title{
			font-size: 14px;
			line-height: 18px;
		}
		.tag-desc{
			font-size: 12px;
			line-height: 15px;
			margin-top: 3px;
			color: @grey;
		}
	}
	.tag-active{
		background-color: #f9f9f9;
		.border{
			position: absolute;
			left: 0;
			top: 0;
			width: 100%;
			height: 5px;
			background-color: @blue;
		}
	}
}
.title{
	font-size:14px;
	color: @common;
	margin-top: 15px;
	padding-left: 15px;
}
.content-main:after{
	content: "";
	display: block;
	clear: both;
}
.content-left{
	float: left;
	width: 810px;
	.header-title{
		font-size: 18px;
		padding-left: 25px;
		border-left: 5px solid @blue;
		line-height: 30px;
		margin-top: 28px;
		margin-bottom: 12px;
		.header-desc{
			font-size: 12px;
			color: @grey;
			margin-left: 32px;
		}
		.header-right{
			font-size: 12px;
			color: @common;
			float: right;
			display: inline-block;
			background-image: url("/img/down_logo.png");
			background-repeat: no-repeat;
			background-size: 14px;
			background-position: right center;
			padding-right: 20px;
			cursor: pointer;
			transition: 0.2s;
		}
	}
	.additional{
		display: none;
	}
	.sec{
		.sec-title{
			font-size:16px;
			margin-left: 30px;
		}
		.sec-content{
			margin-left: 30px;
			margin-top:15px;
		}
	}
	.cats-content{
		position: relative;
		width: 100%;
	}
	.cats{
		border: 1px solid #e8e8e8;
		overflow: hidden;
		.cat-item{
			height: 125px;
			width: 129px;
			text-align: center;
			float: left;
			cursor: pointer;
			position: relative;
		}
		.cat-border{
			width: 100%;
			height: 5px;
			background-color: @blue;
			position: absolute;
			left: 0;
			bottom: 0;
			display: none;
		}
		.cat-logo{
			margin-top: 16px;
			width: 70px;
			height: 70px;
			border-radius: 100%;
			border: 1px solid #ffffff;
		}
		.cat-title{
			margin-top: 8px;
			font-size: 12px;
			color: @common;
		}
		.cat-active{
			.cat-title{
				color: @blue;
			}
			.cat-border{
				display: block;
			}
			.cat-logo{
				border: 1px solid @blue;
			}
		}
	}
	.sub-cats{
		position: absolute;
		/*top: 127px;*/

		top: 0;
		left: 0;
		width: 440px;
		border: 1px solid #e8e8e8;
		border-top: none;
		padding-top: 14px;
		background-color: #ffffff;
		z-index: 10;
		display: none;
		.sub-cats-title{
			height: 25px;
			line-height: 25px;
			padding-left: 24px;
			font-size: 14px;
			color: #999999;
			background-color: #d2eef5;
		}
		.sub-cats-content{
			display: flex;
			flex-wrap: wrap;
			padding-bottom: 15px;
			.sub-cats-item{
				margin-top: 15px;
				margin-left: 15px;
				width: 70px;
				height: 30px;
				border: 1px solid #e8e8e8;
				box-sizing: border-box;
				display: inline-block;
				font-size: 12px;
				color: #666666;
				text-align: center;
				line-height: 30px;
				cursor: pointer;
			}
			.sub-cats-item-active{
				border: 1px solid @blue;
				background-image: url("/img/select_icon.png");
				background-repeat: no-repeat;
				background-size: 15px 15px;
				background-position: right bottom;
			}
		}
	}
	.sec + .sec{
		margin-top: 60px;
	}

	.caizhis{
		overflow: hidden;
		background-color: #ffffff;
		.caizhi-item{
			width: 90px;
			height: 30px;
			border: 1px solid #e8e8e8;
			text-align: center;
			line-height: 30px;
			border-radius: 2px;
			font-size: 12px;
			color: @common;
			float: left;
			box-sizing: border-box;
			cursor: pointer;
			margin-right: 25px;
			margin-bottom: 10px;
		}
		/*.caizhi-item + .caizhi-item{
			margin-left: 25px;
		}*/
		.caizhi-item-active{
			border: 1px solid @blue;
			background-image: url("/img/select_icon.png");
			background-repeat: no-repeat;
			background-size: 15px 15px;
			background-position: right bottom;
		}
	}
	
	.kuanshi-container{
		position: relative;
		overflow: hidden;
		width: 780px;
		height: 230px;
		.btn{
			position: absolute;
			top: 55px;
			bottom: 0;
			width: 30px;
			height: 70px;
			background-color: rgba(51, 51, 51, 0.1);
			color: #ffffff;
			text-align: center;
			line-height: 70px;
			font-size: 30px;
			cursor: pointer;
			display: none;
		}
		.btn-prev{
			left: 0;
		}
		.btn-next{
			right: 0;
		}
		.btn-active{
			background-color: rgba(51, 51, 51, 0.3);
		}
	}
	.kuanshis{
		overflow: hidden;
		position: absolute;
		left: 0;
		top: 0;
		width: 10000px;
		.kuanshi-item{
			width: 180px;
			float: left;
			cursor: pointer;
			position: relative;
			.kuanshi-logo{
				width: 180px;
				height: 180px;
				margin-bottom: 10px;
			}
			.kuanshi-no, .kuanshi-tedian{
				color: @grey;
				font-size: 14px;
				line-height: 18px;
			}
		}
		.kuanshi-selected{
			position: absolute;
			top: 0;
			left: 0;
			width: 180px;
			height: 180px;
			border: 1px solid @blue;
			background-image: url("/img/select_icon.png");
			background-size: 15px 15px;
			background-repeat: no-repeat;
			background-position: right bottom;
			box-sizing: border-box;
			display: none;
		}
		.kuanshi-item + .kuanshi-item{
			margin-left: 20px;
		}
	}
	.no{
		font-size: 14px;
		color: @grey;
		display: none;
	}
	.upload{
		margin-top: 30px;
		p{
			font-size: 14px;
		}
		.upload-container{
			.file-input{
				/*background-color: rgba(0, 0, 0, 0);*/
				opacity: 0;
				position: absolute;
				top: 0;
				left: 0;
				width: 180px;
				height:  180px;
				z-index: 1;
				cursor: pointer;
			}
			margin-top: 15px;
			width: 180px;
			height: 180px;
			position: relative;
			text-align: center;
			/*cursor: pointer;*/
			.beibao-logo{
				position: absolute;
				left: 0;
				top: 0;
				width: 100%;
				opacity: 0.5;
				z-index: 0;
			}
			.upload-icon{
				margin-top: 84px;
				width: 22px;
				height: 22px;
			}
			.upload-title{
				font-size: 14px;
				margin-top: 5px;
				color: @common;
			}
			
			.img-container{
				width: 180px;
				height:  180px;
				overflow: hidden;
				position: relative;
				display: none;
				.remove-icon{
					width: 20px;
					height: 20px;
					position: absolute;
					top: 5px;
					right: 5px;
					cursor: pointer;
				}
				#upload-img{
					width: 100%;
					height: 100%;
				}
			}
			
		}
	}

	.quantity-form{
		.quantity-input{
			width:227px;
			height: 50px;
			padding-left: 15px;
			box-sizing: border-box;
		}
		span{
			font-size: 14px;
			margin-left: 15px;
		}
	}
	.remark{
		width: 330px;
		height: 145px;
		border: 1px solid #e8e8e8;
		resize: none;
		padding: 15px;
		box-sizing: border-box;
		border-radius: 2px;
	}
	.yongtus{
		overflow: hidden;
		.yongtu-item{
			width: 160px;
			height: 110px;
			border: 1px solid #e8e8e8;
			float: left;
			margin-right: 15px;
			text-align: center;
			cursor: pointer;
		}
		.shitidian-icon{
			width: 61px;
			height: 58px;
			margin-top: 8px;
		}
		.tianmaodian-icon{
			width: 56px;
			height: 55px;
			margin-top: 11px;
		}
		.taobaodian-icon{
			width: 48px;
			height: 55px;
			margin-top:11px;
		}
		.yongtu-title{
			margin-top: 10px;
			font-size: 12px;
			color: @common;
		}
		.yongtu-desc{
			margin-top: 2px;
			font-size: 12px;
			color: @grey;
		}
		.yongtu-active{
			border: 1px solid @blue;
			background-image: url("/img/select_icon.png");
			background-size: 15px 15px;
			background-repeat: no-repeat;
			background-position: right bottom;
		}
	}

	.quyus{
		overflow: hidden;
		.quyu-item{
			width: 70px;
			height: 30px;
			border: 1px solid #e8e8e8;
			float: left;
			margin-right: 15px;
			text-align: center;
			line-height: 30px;
			font-size: 12px;
			color: @common;
			cursor: pointer;
		}
		.quyu-active{
			border: 1px solid @blue;
			background-image: url("/img/select_icon.png");
			background-size: 15px 15px;
			background-repeat: no-repeat;
			background-position: right bottom;
		}
	}

	.jiagongs{
		overflow: hidden;
		.jiagong-item{
			width: 70px;
			height: 30px;
			line-height: 30px;
			text-align: center;
			border: 1px solid #e8e8e8;
			margin-right: 15px;
			font-size: 12px;
			color: @common;
			float: left;
			cursor: pointer;
		}
		.jiagong-item-active{
			border: 1px solid @blue;
			background-image: url("/img/select_icon.png");
			background-size: 15px 15px;
			background-repeat: no-repeat;
			background-position: right bottom;
		}
	}
	
	.fapiaos{
		overflow: hidden;
		.fapiao-item{
			width: 70px;
			height: 30px;
			color: @common;
			font-size: 12px;
			border: 1px solid #e8e8e8;
			text-align: center;
			line-height: 30px;
			float: left;
			margin-right: 15px;
			cursor: pointer;
		}
		.fapiao-item-active{
			border: 1px solid @blue;
			background-image: url("/img/select_icon.png");
			background-size: 15px 15px;
			background-repeat: no-repeat;
			background-position: right bottom;
		}
	}


	.prices{
		.price-input{
			width: 155px;
			height:  30px;
			border: 1px solid #e8e8e8;
			padding-left: 10px;
			padding-right: 10px;
			box-sizing: border-box;
		}
		span{
			color: @common;
		}
	}

	.jiaohuoqi{
		position: relative;
		.jiaohuoqi-input{
			width: 330px;
			height: 30px;
			border: 1px solid #e8e8e8;
			box-sizing: border-box;
			padding-left: 10px;
			padding-right: 10px;
		}
		.ui-datepicker-wrapper{
			margin-top: 3px;
			left: 88px;
		}
	}

	.sec-group{
		display: flex;
		margin-top: 60px;
		.sec + .sec{
			margin-top: 0;
			margin-left: 30px;
		}
	}
	span.error-message{
		font-size: 12px;
		color: @red;
		background-image: url("/img/error.png");
		background-size: 14px 14px;
		background-position: left center;
		background-repeat: no-repeat;
		padding-left: 16px;
		display: none;
		margin-left: 20px;
	}
}

.content-right{
	width: 270px;
	border-top: 5px solid @blue;
	float: right;
	margin-top:100px;
	margin-right: 30px;
	box-shadow: 0px 3px 10px 0px rgba(51,51,51,0.1);
	.xuqiu-header{
		height: 102px;
		border-bottom: 2px dotted #e8e8e8;
		text-align: center;
		.xuqiu-logo{
			margin-top: 15px;
			width: 52px;
			height: 50px;
		}
		p{
			margin-top: 5px;
			font-size: 14px;
		}
	}
	.xuqiu-content{
		padding-left: 25px;
		padding-right: 25px;
		padding-top: 20px;
		padding-bottom: 25px;
	}
	.xuqiu-section{
		display: flex;
		justify-content: space-between;
	}
	.xuqiu-section + .xuqiu-section{
		margin-top: 15px;
	}
	.xuqiu-left{
		font-size: 12px;
	}
	.xuqiu-right{
		font-size: 12px;
		color: @grey;
	}
}

.btn-group{
	display: flex;
	justify-content: center;
	margin-top: 98px;
	padding-bottom: 62px;
	clear: both;
	.btn{
		width: 225px;
		height:  60px;
		background-color: #ffffff;
		cursor: pointer;
	}
	.btn-left{
		border: 1px solid @blue;
		color: @blue;
		font-size: 20px;
	}
	.btn-right{
		font-size: 20px;
		color: #ffffff;
		background-color: @blue;
		border: 1px solid @blue;
	}
}

